$(function() {
	
	let banner = new Swiper('.banner .swiper-container', {
		autoplay:true,
		pagination: {
			el: '.banner .swiper-pagination',
		},
	});
	
	
	$('.menu').click(function(){
		$('.header').toggleClass('h-menu-show')
	})
	
	$('.wap-menu .ul li .dropdown').click(function(){
		$(this).toggleClass('on').parent().siblings().find('.dropdown').removeClass('on');
		$(this).siblings().slideToggle().parent().siblings().find('.sub-menu').hide();
	});
	
	
	
	$('.bshare-custom>div').on('click',function(){
		$(this).children().fadeToggle();
	})
	

	let inews = new Swiper('.inews .toof .swiper-container', {
		spaceBetween:30,
		navigation: {
			nextEl: '.inews .swiper-button-next',
			prevEl: '.inews .swiper-button-prev',
		},
	});


	let prov_swiper = new Swiper('.prov_swiper .swiper-container', {
		slidesPerView : 1,
		navigation: {
			prevEl: '.swiper-button-prev',
			nextEl: '.swiper-button-next',
		},
	});
	
	let ref = new Swiper('.ref .swiper-container', {
	  direction: 'vertical',
	  slidesPerView: 'auto',
	  freeMode: true,
	  scrollbar: {
		el: '.ref .swiper-scrollbar',
	  },
	  mousewheel: true,
	});
	
	
	
	
});